package com.zik.rader_and_video.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author zik
 * @description
 * @time 2023/6/19 08:40
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("room")
public class Room {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer Temperature;
    private Integer humidity;
    private Integer carbon;
    private Integer methanal;
    private Integer ultraviolet;

    @TableField(fill= FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill= FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

}
